<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Struct template group_functions</title>
<link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../intrusive/reference.html#doxygen.hashtable_8hpp" title="Header &lt;boost/intrusive/hashtable.hpp&gt;">
<link rel="prev" href="structboost_1_1intrusive_1_1get__hashtable__size__wrapper__internal.html" title="Struct template get_hashtable_size_wrapper_internal">
<link rel="next" href="structboost_1_1intrusive_1_1hash__bool__flags.html" title="Struct hash_bool_flags">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.html">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1intrusive_1_1get__hashtable__size__wrapper__internal.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../intrusive/reference.html#doxygen.hashtable_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1intrusive_1_1hash__bool__flags.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.structboost_1_1intrusive_1_1group__functions"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template group_functions</span></h2>
<p>boost::intrusive::group_functions</p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../intrusive/reference.html#doxygen.hashtable_8hpp" title="Header &lt;boost/intrusive/hashtable.hpp&gt;">boost/intrusive/hashtable.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> NodeTraits<span class="special">&gt;</span> 
<span class="keyword">struct</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html" title="Struct template group_functions">group_functions</a> <span class="special">{</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">NodeTraits</span>                                     <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a067f3d2f5703a51d278f22e8adcd8dbf"></a><span class="identifier">node_traits</span><span class="special">;</span>        
  <span class="keyword">typedef</span> <span class="identifier">unordered_group_adapter</span><span class="special">&lt;</span> <span class="identifier">node_traits</span> <span class="special">&gt;</span>         <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a105605068d52629b42994ed5ee1b060e"></a><span class="identifier">group_traits</span><span class="special">;</span>       
  <span class="keyword">typedef</span> <span class="identifier">node_traits</span><span class="special">::</span><span class="identifier">node_ptr</span>                          <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a9d7e8b25fef86f09a0fe84eb1d40b88a"></a><span class="identifier">node_ptr</span><span class="special">;</span>           
  <span class="keyword">typedef</span> <span class="identifier">node_traits</span><span class="special">::</span><span class="identifier">node</span>                              <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1ac1b36f01b42098f77f1dd34520f87265"></a><span class="identifier">node</span><span class="special">;</span>               
  <span class="keyword">typedef</span> <span class="identifier">reduced_slist_node_traits</span><span class="special">&lt;</span> <span class="identifier">node_traits</span> <span class="special">&gt;</span><span class="special">::</span><span class="identifier">type</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a9d52e58cb6769cb2434b17fd5fa6a6d8"></a><span class="identifier">reduced_node_traits</span><span class="special">;</span>
  <span class="keyword">typedef</span> <span class="identifier">reduced_node_traits</span><span class="special">::</span><span class="identifier">node_ptr</span>                  <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1ac82d5c129e25f6baa501b59ced4ec9aa"></a><span class="identifier">slist_node_ptr</span><span class="special">;</span>     
  <span class="keyword">typedef</span> <span class="identifier">reduced_node_traits</span><span class="special">::</span><span class="identifier">node</span>                      <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a75419c547fba12d0d20c6f127c1dd904"></a><span class="identifier">slist_node</span><span class="special">;</span>         
  <span class="keyword">typedef</span> <a class="link" href="classboost_1_1intrusive_1_1circular__slist__algorithms.html" title="Class template circular_slist_algorithms">circular_slist_algorithms</a><span class="special">&lt;</span> <span class="identifier">group_traits</span> <span class="special">&gt;</span>      <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1acf5cde89ed05d4debd3658ab071c538f"></a><span class="identifier">group_algorithms</span><span class="special">;</span>   
  <span class="keyword">typedef</span> <a class="link" href="classboost_1_1intrusive_1_1circular__slist__algorithms.html" title="Class template circular_slist_algorithms">circular_slist_algorithms</a><span class="special">&lt;</span> <span class="identifier">node_traits</span> <span class="special">&gt;</span>       <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a5af80535282abaeca0dc8ff2d79903be"></a><span class="identifier">node_algorithms</span><span class="special">;</span>    

  <span class="comment">// <a class="link" href="boost_interprocess_header_reference/classboost_1_1interprocess_1_1basic__managed__shared__memory.html#id37-bb">public static functions</a></span>
  <span class="keyword">static</span> <span class="identifier">slist_node_ptr</span> 
  <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1ab6345dfd7f1594b90b837bbb4ba87fb8"><span class="identifier">get_bucket_before_begin</span></a><span class="special">(</span><span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">slist_node_ptr</span><span class="special">,</span> 
                          <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">slist_node_ptr</span> 
  <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1ab26d0a71441834b7fd65ba2ded2e350c"><span class="identifier">get_bucket_before_begin</span></a><span class="special">(</span><span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">slist_node_ptr</span><span class="special">,</span> 
                          <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">node_ptr</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a58db06edf058415af5a84ba25c267f9b"><span class="identifier">get_prev_to_first_in_group</span></a><span class="special">(</span><span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">node_ptr</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">void</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a6510dc5860c6d8fa2f27862bfb798871"><span class="identifier">erase_from_group</span></a><span class="special">(</span><span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">void</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1aa8f49ffce0e98ee2763dee2725c8e30c"><span class="identifier">erase_from_group</span></a><span class="special">(</span><span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">node_ptr</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a97035c6e8171c923b99e991b317c2f79"><span class="identifier">get_last_in_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">node_ptr</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1ae5f228b0923229d2c2ca2baf8aa1f421"><span class="identifier">get_last_in_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">node_ptr</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a046952d21d1dd9de30260782e2254391"><span class="identifier">get_first_in_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">node_ptr</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1af6ef8f075da89e9dea0c20e0a1985867"><span class="identifier">get_first_in_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">bool</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a21761d6d4694245d238e44a78aa670f6"><span class="identifier">is_first_in_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">void</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a656b39e748dca5b7a1173b10db1e5873"><span class="identifier">insert_in_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">,</span> <span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="keyword">void</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a084f251841168eaec573f10897476619"><span class="identifier">insert_in_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">,</span> <span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">node_ptr</span> <a class="link" href="structboost_1_1intrusive_1_1group__functions.html#doxygen.structboost_1_1intrusive_1_1group__functions_1a3d159005678b6ff5d6c58e4bcf458286"><span class="identifier">split_group</span></a><span class="special">(</span><span class="identifier">node_ptr</span> <span class="keyword">const</span><span class="special">)</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.17.42.14.19.4"></a><h2>Description</h2>
<div class="refsect2">
<a name="id-1.3.17.42.14.19.4.2"></a><h3>
<a name="id37-bb"></a><code class="computeroutput">group_functions</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">slist_node_ptr</span> 
<a name="doxygen.structboost_1_1intrusive_1_1group__functions_1ab6345dfd7f1594b90b837bbb4ba87fb8"></a><span class="identifier">get_bucket_before_begin</span><span class="special">(</span><span class="identifier">slist_node_ptr</span> bucket_beg<span class="special">,</span> <span class="identifier">slist_node_ptr</span> bucket_last<span class="special">,</span> 
                        <span class="identifier">slist_node_ptr</span> sp<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">slist_node_ptr</span> 
<a name="doxygen.structboost_1_1intrusive_1_1group__functions_1ab26d0a71441834b7fd65ba2ded2e350c"></a><span class="identifier">get_bucket_before_begin</span><span class="special">(</span><span class="identifier">slist_node_ptr</span> bucket_beg<span class="special">,</span> <span class="identifier">slist_node_ptr</span> bucket_last<span class="special">,</span> 
                        <span class="identifier">slist_node_ptr</span> sp<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">node_ptr</span> 
<a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a58db06edf058415af5a84ba25c267f9b"></a><span class="identifier">get_prev_to_first_in_group</span><span class="special">(</span><span class="identifier">slist_node_ptr</span> bucket_node<span class="special">,</span> 
                           <span class="identifier">node_ptr</span> first_in_group<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">void</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a6510dc5860c6d8fa2f27862bfb798871"></a><span class="identifier">erase_from_group</span><span class="special">(</span><span class="identifier">slist_node_ptr</span> end_ptr<span class="special">,</span> <span class="identifier">node_ptr</span> to_erase_ptr<span class="special">,</span> 
                             <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">void</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1aa8f49ffce0e98ee2763dee2725c8e30c"></a><span class="identifier">erase_from_group</span><span class="special">(</span><span class="identifier">slist_node_ptr</span><span class="special">,</span> <span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">node_ptr</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a97035c6e8171c923b99e991b317c2f79"></a><span class="identifier">get_last_in_group</span><span class="special">(</span><span class="identifier">node_ptr</span> first_in_group<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">node_ptr</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1ae5f228b0923229d2c2ca2baf8aa1f421"></a><span class="identifier">get_last_in_group</span><span class="special">(</span><span class="identifier">node_ptr</span> n<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">node_ptr</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a046952d21d1dd9de30260782e2254391"></a><span class="identifier">get_first_in_group</span><span class="special">(</span><span class="identifier">node_ptr</span> n<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">node_ptr</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1af6ef8f075da89e9dea0c20e0a1985867"></a><span class="identifier">get_first_in_group</span><span class="special">(</span><span class="identifier">node_ptr</span> n<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">bool</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a21761d6d4694245d238e44a78aa670f6"></a><span class="identifier">is_first_in_group</span><span class="special">(</span><span class="identifier">node_ptr</span> ptr<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">void</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a656b39e748dca5b7a1173b10db1e5873"></a><span class="identifier">insert_in_group</span><span class="special">(</span><span class="identifier">node_ptr</span> first_in_group<span class="special">,</span> <span class="identifier">node_ptr</span> n<span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="keyword">void</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a084f251841168eaec573f10897476619"></a><span class="identifier">insert_in_group</span><span class="special">(</span><span class="identifier">node_ptr</span><span class="special">,</span> <span class="identifier">node_ptr</span><span class="special">,</span> <span class="emphasis"><em><span class="identifier">unspecified</span></em></span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">node_ptr</span> <a name="doxygen.structboost_1_1intrusive_1_1group__functions_1a3d159005678b6ff5d6c58e4bcf458286"></a><span class="identifier">split_group</span><span class="special">(</span><span class="identifier">node_ptr</span> <span class="keyword">const</span> new_first<span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2005 Olaf Krzikalla<br>Copyright © 2006-2015 Ion Gaztanaga<p>
        Distributed under the Boost Software License, Version 1.0. (See accompanying
        file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
      </p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="structboost_1_1intrusive_1_1get__hashtable__size__wrapper__internal.html"><img src="../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../intrusive/reference.html#doxygen.hashtable_8hpp"><img src="../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="structboost_1_1intrusive_1_1hash__bool__flags.html"><img src="../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
